package com.qfedu.service;

import com.github.pagehelper.PageInfo;
import com.qfedu.entity.Usergroup;
import com.qfedu.util.Result;

/**
 * projectName: logistics
 * author: CGY
 * time: 2020/10/9 20:54
 * description:
 */
public interface UsergroupService {
    Result selectAll();

    PageInfo selectAllGroup();

    Result addGroup(Usergroup usergroup);

    Result selectGroupById(Integer groupId);

    Result updateDescription(Usergroup usergroup);

    Result deleteGroup(Long id);

    Result selectAllFunction();

    Result selectFunctionByGroup(Long groupId);

    Result addNewFunc(Long groupId, Integer[] array);
}
